package com.goodsogood.union.auth.service;

import java.util.Map;

public interface UserTokenService {

	void refresh(String key);

	boolean verify(String token, String plateformDeviceType, String plateformDeviceInfo);

	void disbaleTokenOnOtherDevice(PlateformDeviceType plateformDeviceType, String userId);

	void addLogoutNotifyMessage(String token);

	String findLogoutNotifyMessage(String token);

	void addToken(String userId, AccessToken token);

	void setTokens(String userId, Map<String, AccessToken> tokens);

	boolean verify(String token);

	boolean verifyAuth(String token, String string);

}
